<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title>地区列表</title>
    <link rel="icon" href="favicon.ico" type="image/x-icon" />
</head>
<body>
<div>
    <div>
        <#if (areas?? && areas?size > 0)>
            <table>
                <thead>
                    <tr>
                        <th>排序</th>
                        <th>地区名称</th>
                    </tr>
                </thead>
                <tbody>
                    <#list areas as area>
                        <tr>
                            <td>${area.sortOrder!}</td>
                            <td>${area.name!}</td>
                        </tr>
                    </#list>
                    <tr><td><a href="/admin/area!add">添加新地区</a></td></tr>
                </tbody>
            </table>
        </#if>
    </div>
</div>
</body>
</html>